const app = getApp();

Component({
  behaviors: [getApp().globalData.behavior],
  data: {
    autoplay: false,
    interval: 2300,
    duration: 800,
    currentSwiperIndex: 0,
    current: 0,
  },
  methods: {
    onSwiperChange(event, t) {
      const { current } = event.detail;
      this.setData({ currentSwiperIndex: current });
    },
  },
});
